home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / inspector / inIDeepTreeWalker.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  5KB  |  136 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM inIDeepTreeWalker.idl
  3.  */
  4.  
  5. #ifndef __gen_inIDeepTreeWalker_h__
  6. #define __gen_inIDeepTreeWalker_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIDOMTreeWalker_h__
  14. #include "nsIDOMTreeWalker.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21. class nsIDOMNode; /* forward declaration */
  22.  
  23.  
  24. /* starting interface:    inIDeepTreeWalker */
  25. #define INIDEEPTREEWALKER_IID_STR "91fca0e9-99d6-406b-9d78-4c96f11e9ee4"
  26.  
  27. #define INIDEEPTREEWALKER_IID \
  28.   {0x91fca0e9, 0x99d6, 0x406b, \
  29.     { 0x9d, 0x78, 0x4c, 0x96, 0xf1, 0x1e, 0x9e, 0xe4 }}
  30.  
  31. class NS_NO_VTABLE inIDeepTreeWalker : public nsIDOMTreeWalker {
  32.  public: 
  33.  
  34.   NS_DEFINE_STATIC_IID_ACCESSOR(INIDEEPTREEWALKER_IID)
  35.  
  36.   /* attribute boolean showAnonymousContent; */
  37.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent) = 0;
  38.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent) = 0;
  39.  
  40.   /* attribute boolean showSubDocuments; */
  41.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments) = 0;
  42.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments) = 0;
  43.  
  44.   /* void init (in nsIDOMNode aRoot, in unsigned long aWhatToShow); */
  45.   NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow) = 0;
  46.  
  47. };
  48.  
  49. /* Use this macro when declaring classes that implement this interface. */
  50. #define NS_DECL_INIDEEPTREEWALKER \
  51.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent); \
  52.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent); \
  53.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments); \
  54.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments); \
  55.   NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow); 
  56.  
  57. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  58. #define NS_FORWARD_INIDEEPTREEWALKER(_to) \
  59.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent) { return _to GetShowAnonymousContent(aShowAnonymousContent); } \
  60.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent) { return _to SetShowAnonymousContent(aShowAnonymousContent); } \
  61.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments) { return _to GetShowSubDocuments(aShowSubDocuments); } \
  62.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments) { return _to SetShowSubDocuments(aShowSubDocuments); } \
  63.   NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow) { return _to Init(aRoot, aWhatToShow); } 
  64.  
  65. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  66. #define NS_FORWARD_SAFE_INIDEEPTREEWALKER(_to) \
  67.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowAnonymousContent(aShowAnonymousContent); } \
  68.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowAnonymousContent(aShowAnonymousContent); } \
  69.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowSubDocuments(aShowSubDocuments); } \
  70.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowSubDocuments(aShowSubDocuments); } \
  71.   NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aRoot, aWhatToShow); } 
  72.  
  73. #if 0
  74. /* Use the code below as a template for the implementation class for this interface. */
  75.  
  76. /* Header file */
  77. class inDeepTreeWalker : public inIDeepTreeWalker
  78. {
  79. public:
  80.   NS_DECL_ISUPPORTS
  81.   NS_DECL_INIDEEPTREEWALKER
  82.  
  83.   inDeepTreeWalker();
  84.  
  85. private:
  86.   ~inDeepTreeWalker();
  87.  
  88. protected:
  89.   /* additional members */
  90. };
  91.  
  92. /* Implementation file */
  93. NS_IMPL_ISUPPORTS1(inDeepTreeWalker, inIDeepTreeWalker)
  94.  
  95. inDeepTreeWalker::inDeepTreeWalker()
  96. {
  97.   /* member initializers and constructor code */
  98. }
  99.  
  100. inDeepTreeWalker::~inDeepTreeWalker()
  101. {
  102.   /* destructor code */
  103. }
  104.  
  105. /* attribute boolean showAnonymousContent; */
  106. NS_IMETHODIMP inDeepTreeWalker::GetShowAnonymousContent(PRBool *aShowAnonymousContent)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110. NS_IMETHODIMP inDeepTreeWalker::SetShowAnonymousContent(PRBool aShowAnonymousContent)
  111. {
  112.     return NS_ERROR_NOT_IMPLEMENTED;
  113. }
  114.  
  115. /* attribute boolean showSubDocuments; */
  116. NS_IMETHODIMP inDeepTreeWalker::GetShowSubDocuments(PRBool *aShowSubDocuments)
  117. {
  118.     return NS_ERROR_NOT_IMPLEMENTED;
  119. }
  120. NS_IMETHODIMP inDeepTreeWalker::SetShowSubDocuments(PRBool aShowSubDocuments)
  121. {
  122.     return NS_ERROR_NOT_IMPLEMENTED;
  123. }
  124.  
  125. /* void init (in nsIDOMNode aRoot, in unsigned long aWhatToShow); */
  126. NS_IMETHODIMP inDeepTreeWalker::Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow)
  127. {
  128.     return NS_ERROR_NOT_IMPLEMENTED;
  129. }
  130.  
  131. /* End of implementation class template. */
  132. #endif
  133.  
  134.  
  135. #endif /* __gen_inIDeepTreeWalker_h__ */
  136.